package k.daniel.databindingdemo;

import android.app.Application;
import android.content.Context;

/**
 * Created by daniel on 2016/5/17.
 */
public class AppContext extends Application{

    private static Context context;

    static public Context getContext(){
        return context;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        context=this;
    }
}
